all

inline fun all(predicate: (T) -> Boolean): Boolean

Returns the result of applying the predicate to the value if this is Some or true if this is None.

Return

The result of applying the predicate to the value if this is Some or true if this is None.

Parameters

predicate

Predicate function.